// import React from 'react';
// import { ColorPicker } from 'antd';
// import ParentNode from '@/components/@input/parent-node';

export const inputComponents = {
  // color: ColorPicker,
  // parentNode: ParentNode,
  // richEditor: React.lazy(() => import('@/components/@input/rich-editor')),
  // tableEditor: React.lazy(() => import('@/components/@comp/edit-table-v2/edit-table-tree.jsx')),
};

export const inputProps = {
  input: { placeholder: '请输入' },
  number: { placeholder: '请输入', style: { width: '100%' } },
  password: { placeholder: '请输入' },
  textarea: { placeholder: '请输入', rows: 3 },
  // slider: { tooltip: { open: true, placement: 'right' } },
  select: { placeholder: '请选择' },
  mentions: { placeholder: '请输入' },
  autoComplete: { placeholder: '请输入' },
  cascader: { placeholder: '请选择' },
  treeSelect: { placeholder: '请选择' },
  range: { allowEmpty: [true, true] },
  color: { allowClear: true, showText: true },
};
